#define _CRT_SECURE_NO_WARNINGS 1

#include"Sort8.h"


void test1()
{
	//int a[] = { 6,4,1,3,10,5,8,9,2,7 };
	int a[] = { 5,10,2,5,5,6,1,4,3,7,9,8 };
	int size = sizeof(a) / sizeof(a[0]);

	Print(a, size);
	//BubbleSort(a, size);
	//InsertSort(a, size);
	//SelectSort(a, size);
	//ShellSort(a, size);
	//HeapSort(a, size);
	//QuickSort(a, 0, size - 1);
	//QuickSortNonR(a, 0, size - 1);
	//MergeSort(a, size);
	//MergeSortNonR(a, size);
	QuickSortThree(a, 0, size - 1);
	Print(a, size);
}

int main()
{
	test1();

	return 0;
}